<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<div th:replace="~{fragment/headFragment :: head}"></div>
<body class="cbp-spmenu-push">
<div class="main-content">

    <div th:replace="~{fragment/left-border :: left}"></div>

    <div th:replace="~{fragment/header :: header}"></div>

    <div id="page-wrapper">
        <div class="main-page signup-page">
            <a th:href="@{/customerInfo/index(value='',current=${#request.getParameter('current')},size=5)}"><h3 class="title1"><< 创建工单</h3></a>
            <div class="sign-up-row widget-shadow">
                <form action="/customerInfo/doAdd" method="get">
                    <input type="text" name="current" th:value="${#request.getParameter('current')}" style="display: none;">
                    <input type="text" name="size" th:value="${#request.getParameter('size')}" style="display: none;">
                    <input type="text" name="customerid" th:value="${customerid}" style="display: none;">
                    <div class="sign-u">
                        <div class="sign-up1">
                            <h4>工单分类* :</h4>
                        </div>
                        <div class="sign-up2">
                            <select name="worktype" class="form-control" required>
                                <option value="分类一">分类一</option>
                                <option value="分类二">分类二</option>
                                <option value="分类三">分类三</option>
                            </select>
                        </div>
                        <div class="clearfix"> </div>
                    </div>
                    <div class="sign-u">
                        <div class="sign-up1">
                            <h4>工单标题* :</h4>
                        </div>
                        <div class="sign-up2">
                            <input type="text" class="form-control" name="title" placeholder="请输入工单标题" required>
                        </div>
                        <div class="clearfix"> </div>
                    </div>
                    <div class="sign-u">
                        <div class="sign-up1">
                            <h4>工单描述 :</h4>
                        </div>
                        <div class="sign-up2">
                            <textarea class="form-control" name="orderdesc" placeholder="请输入工单描述" rows="4" required></textarea>
                        </div>
                        <div class="clearfix"> </div>
                    </div>
                    <div class="sign-u">
                        <div class="sign-up1">
                            <h4>抄送人 :</h4>
                        </div>
                        <div class="sign-up2">
                            <select name="cclist" class="form-control" style="margin:20px 0 40px;" required>
                                <!--															<option>请选择</option>-->
                                <option value="七尾">七尾</option>
                                <option value="小白">小白</option>
                                <option value="小亮">小亮</option>
                                <option value="小丽">小丽</option>
                                <option value="小明">小明</option>
                            </select>
                        </div>
                        <div class="clearfix"> </div>
                    </div>
                    <div class="sign-u">
                        <div class="sign-up1">
                            <h4>优先级 :</h4>
                        </div>
                        <div class="sign-up2">
                            <input type="radio" name="priority" value="低" checked>低&nbsp&nbsp&nbsp&nbsp
                            <input type="radio" name="priority" value="中">中&nbsp&nbsp&nbsp&nbsp
                            <input type="radio" name="priority" value="高">高&nbsp&nbsp&nbsp&nbsp
                            <input type="radio" name="priority" value="紧急">紧急
                        </div>
                        <div class="clearfix"> </div>
                    </div>
                    <div class="sign-u">
                        <div class="sign-up1">
                            <h4>工单状态 :</h4>
                        </div>
                        <div class="sign-up2">
                            <select name="state" class="form-control" required>
                                <!--															<option>请选择</option>-->
                                <option value="未分配">未分配</option>
                                <option value="未处理">未处理</option>
                                <option value="待处理">待处理</option>
                                <option value="处理中">处理中</option>
                                <option value="已解决">已解决</option>
                                <option value="已关闭">已关闭</option>
                            </select>
                        </div>
                        <div class="clearfix"> </div>
                    </div>
                    <div class="sub_home">
                        <input type="submit" value="创建工单" id="submit">
                        <div class="clearfix"> </div>
                    </div>
                </form>

            </div>
        </div>
    </div>
</div>
<!-- Classie -->
<script src="js/classie.js"></script>
<script>
    var menuLeft = document.getElementById( 'cbp-spmenu-s1' ),
        showLeftPush = document.getElementById( 'showLeftPush' ),
        body = document.body;

    showLeftPush.onclick = function() {
        classie.toggle( this, 'active' );
        classie.toggle( body, 'cbp-spmenu-push-toright' );
        classie.toggle( menuLeft, 'cbp-spmenu-open' );
        disableOther( 'showLeftPush' );
    };

    function disableOther( button ) {
        if( button !== 'showLeftPush' ) {
            classie.toggle( showLeftPush, 'disabled' );
        }
    }
</script>
<!--scrolling js-->
<script src="js/jquery.nicescroll.js"></script>
<script src="js/scripts.js"></script>
<!--//scrolling js-->
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.js"> </script>
</body>
</html>